﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HROReporting.Services.ViewModels;
using HROReporting.Model.DocentIncheckingen;
using AutoMapper;

namespace HROReporting.Services.Mapping
{
    public static class DocentIncheckingMapper
    {
        public static DocentIncheckingView ConvertToDocentIncheckingView(this DocentInchecking docentInchecking)
        {
            return Mapper.Map<DocentInchecking, DocentIncheckingView>(docentInchecking);
        }

        public static IEnumerable<DocentIncheckingView> ConvertToDocentIncheckingenView(this IEnumerable<DocentInchecking> docentInchecking)
        {
            return Mapper.Map<IEnumerable<DocentInchecking>, IEnumerable<DocentIncheckingView>>(docentInchecking);
        }
    }
}
